﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GrayParrot.Web.Formly
{
    /// <summary>
    /// The Form Field Attribute...
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
    public class FormFieldAttribute : Attribute
    {
        ///// <summary>
        ///// Gets or sets the key.
        ///// </summary>
        ///// <value>
        ///// The key.
        ///// </value>
        //public string Key { get; set; }

        /// <summary>
        /// Gets or sets the type.
        /// </summary>
        /// <value>
        /// The type.
        /// </value>
        public FormFieldTypes Type { get; set; }

        ///// <summary>
        ///// Gets or sets the template options.
        ///// </summary>
        ///// <value>
        ///// The template options.
        ///// </value>
        //public TemplateOptions TemplateOptions { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="FormFieldAttribute"/> class.
        /// </summary>
        public FormFieldAttribute()
        {

        }
    }
}
